package com.allinpay.route;

import com.allinpay.config.FeignConfiguration;
import com.allinpay.until.requestModel.TpReq;
import com.allinpay.until.responseModel.TpRet;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "base-bank", configuration = FeignConfiguration.class)
public interface SignService {

    @PostMapping(value = "/baseBank/beSign", produces = MediaType.APPLICATION_JSON_VALUE)
    TpRet sign(@RequestBody TpReq tpReq);
}
